package com.sentinel.c1;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@RestController
public class C1Application {

    public static void main(String[] args) {
        System.setProperty("csp.sentinel.log.use.pid", "true");
        SpringApplication.run(C1Application.class, args);
    }


    @RequestMapping(value = "hello")
    public String hello(){
        return "c1";
    }

}
